package top.boycharse.blog.dao.repository;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
import top.boycharse.blog.dao.bean.Classify;

import java.util.List;

@Repository
public interface ClassifyRepository extends JpaRepository<Classify, Integer> {
    Classify findByName(String name);

    List<Classify> findByUser_userName(String username);
}
